/*
 * @Copyright: 2017 www.yyfax.com Inc. All rights reserved.
 */
package com.yyfax.pay.third.model.to.yyfax;

import com.yyfax.framework.model.Params;

/**
 * 支付订单请求参数
 * 
 * @author buyi
 * @date 2017-04-11 17:52:09
 * @since v1.0.0
 */
@SuppressWarnings("serial")
public class PayOrderYYParams extends Params {
	/** 支付模块订单号 */
	private String payOrderId;
	/** 商户编号 */
	private String merchantCode;
	/** 商户用户id */
	private String userId;
	/** 金额 */
	private int amount;
	/** 证件姓名 */
	private String name;
	/** 证件姓名 */
	private String idNo;
	/** 银行卡号 */
	private String cardNo;
	/** 手机号 */
	private String phone;
	/** 支付令牌 */
	private String token;
	/** 手机验证码 */
	private String validCode;
	/** 第三方订单号(流水号)，富友支付通道需要 */
	private String serialNo;
	/** 用户IP */
	private String userIp;
	/** 是否再次支付标识，false-首次支付，true-再次支付 */
	private boolean isAgain;
	/** 协议号 */
	private String protocolNo;

	public String getPayOrderId() {
		return payOrderId;
	}

	public void setPayOrderId(String payOrderId) {
		this.payOrderId = payOrderId;
	}

	public String getMerchantCode() {
		return merchantCode;
	}

	public void setMerchantCode(String merchantCode) {
		this.merchantCode = merchantCode;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getUserIp() {
		return userIp;
	}

	public void setUserIp(String userIp) {
		this.userIp = userIp;
	}

	public int getAmount() {
		return amount;
	}

	public void setAmount(int amount) {
		this.amount = amount;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getIdNo() {
		return idNo;
	}

	public void setIdNo(String idNo) {
		this.idNo = idNo;
	}

	public String getCardNo() {
		return cardNo;
	}

	public void setCardNo(String cardNo) {
		this.cardNo = cardNo;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public String getValidCode() {
		return validCode;
	}

	public void setValidCode(String validCode) {
		this.validCode = validCode;
	}

	public String getSerialNo() {
		return serialNo;
	}

	public void setSerialNo(String serialNo) {
		this.serialNo = serialNo;
	}

	public boolean isAgain() {
		return isAgain;
	}

	public void setAgain(boolean isAgain) {
		this.isAgain = isAgain;
	}

	public String getProtocolNo() {
		return protocolNo;
	}

	public void setProtocolNo(String protocolNo) {
		this.protocolNo = protocolNo;
	}

	@Override
	public boolean validate() throws Exception {
		return false;
	}

}
